package com.omp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.omp.common.dao.CommonDAO;
import com.omp.entity.Industry;
import com.omp.service.IndustryService;

@Service
@Transactional
public class IndustryServiceImpl implements IndustryService {
	
	@Autowired
	private CommonDAO commonDAO;

	@SuppressWarnings("unchecked")
	@Override
	public List<Industry> findAll() {
		return commonDAO.findAll(Industry.class);
	}

}